package com.campus.event.repository;

import com.campus.event.entity.CheckIn;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface CheckInRepository extends JpaRepository<CheckIn, Long> {
    List<CheckIn> findByUserId(Long userId);
    List<CheckIn> findByEventId(Long eventId);
    boolean existsByUserIdAndEventId(Long userId, Long eventId);
} 